package com.zjff.mobiletwo.service;

import com.zjff.mobiletwo.dao.FamilyNameDao;
import com.zjff.mobiletwo.entity.ResultEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class FamilyNameServiceImpl implements FamilyNameService {
    @Autowired
    FamilyNameDao familyNameDao;


    @Override
    public String getall(){

//        return familyNameDao.getall();
        return ResultEntity.Success(null,familyNameDao.getall(),0,"获取成功!");
    }
}
